implemented "remember my last directory" feature
replaced term.js with a newer version
refactored Storage mechanisms