Tab: reduced code duplication in set_cursor
added Dir_cache
List_dir directory storage changed to Dir_cache
Dir_cache should be feature complete for now

Updating directory contents will be done by File-system watchdog thread.