Merge pull request #368 from bepetersn/master

fix issue #367; widen prior day search window to 13
patch stupid deleting of line in controller.py