Andreas/issue 987 many compile options not available new

Use this pull request. Merge should be a lot easier...
Added compile options to settings dialog now.
This file is not used any more!