Improved open logic

Improved open logic, including auto-open at startup if no previous folder available.

Signed-off-by: Herb Bowie <hbowie@mac.com>