Resize main form. Notice: Investigate how not to use static on shared instances.