Remove options perventing foreground mode from working.
Merge pull request #53 from vishnevskiy/master

Remove options perventing foreground mode from working.