Improved the menu, corrected a divide by 0 and set the size of window