Add initial version of monitoring thread.
Take process ID from ::getpid and not from file.
Get idle time from user defaults.
Move MonitoringThread to MiscCommon. Move implementation of MonitoringThread to header file.