minor refactoring
rewrite error message
add 'parseAndCreateTrees' method (but yet commented out)
[BUG #8407] reimplement char conversion algorithm properly
[BUG #8407] shallow global privates map
[BUG #8407] fix and augment privates optimization
[BUG #8407] augment stdout test code
[BUG #8407] enable privates optimization