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 one is nice, I would still like that the option lowercase as others