Revert lots of changes in executableness
Remove .idea files
Minor improvements
Merge branch 'master' into cgi
Tweaked a little.