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.
Should be always there, no?