Changed default window size
Removed auto fit call and debug code
Added size changed event to size border