Resize window and bug fixes