Added close/close all actions to the file menu.
Changed hardcoded strings to use resources, added getResourceString(...) to plugin context to simplfy access.
Added code to handle application shutdown checking the document modification flag and prompting user to save documents.