Using cstrings for the locale stuff, moving some stuff around etc.

gives up to 15 % perfomance improvement. On my machine it now runs
in 22 ms AVG.
Fix problem with --no-startup-id

(and some other, completly unrelated stuff that goes into
the same commit, because... well because they do.)