check for mca filename attribute to use for title
set and prompt for working dir on startup, some cleanups