[[ Bug 12493 ]] Prevent crash from bad data while decoding array
[[ Bug 12493 ]] Restore textmode parameter to MCOpen
Remove logging
Merge pull request #784 from runrevali/bugfix-12493

Bugfix 12493