Added a 'save as' option and fixed the blue screen.