Fix Python forms designer.

The Python forms designer was walking code after the
InitializeComponents and if this code tried to create an
instance of the form it would fail. Now the forms
designer only walks the code inside the InitializeComponents.