added flag to toggle logging in idealcontroller
Merge pull request #2 from es92/fix_idealcontroller_write_to_disk

stopped opening unused file stream in idealcontroller