theMapLookup => lookup
Corresponding (un)signed char + some \n.
Fix for bug preventing error printing in trans.
More minor refactorings and whitespace fixes.