Actually dispose of stuff on exit
Save last used path and restore on start-up