Added AutoRefresh support, and many other changes...

- Added AutoRefresh support
-- It works, but it has some flaws, such as:
--- Right on refresh, Directory tab removes.
--- Right on refresh, Clients get 1 - 5 seconds freeze.

- Added few preparations for future updates.

Please refrain from using this CW version, unless you really want to. It
still contains bugs, but most of them are clientside AKA can be fixed by
simple reconnecting. (so, no need to restart the server for development
purposes)

There's much more changes, but I can't simply list them all.