Removed fixed size for window, and added a title