Added settings menu and fixed a few resizing bugs