Performance optimizations

Removed more unused code.
Increased the default interval to watch for file changes from 250ms to 2000ms in order to counter the high CPU load of watching thousands of files - tested for a week and it really works.