140312

Added close function
Prompts user on exit
Deletes UI components (even state-dependent ones), and handles removal of global and persistent data
Re-referencing of persistent variables in cfgIlabJavaInterface, and removal of all fields on 'cleanup'
Consolidated clean-up in cfgUISecure
Added warning if toolbox is active, and focuses window.