cleaed up and added a hack for the monitor.sqlite database (just keep a linux version and copy it