folders now enter index; null checks
don't auto-popup when selecting dir
some more error checking