Implemented options window and save options. Made closing all windows.