Removing resize hack and changing main form to toolbox