Prevent widget code from running at all if widget is not enabled

In some instances layouts widget code is still being run when a widget is not enabled. Conduct a review to elminate this as a possibility.