Removed hardcoded API check URL from monitor.
General code cleanup and better ini file handling.