Calculating tableswitch size may overflow
Fix NPE in getglobal
Sanitize while statements which define vars in preamble
Rethrow alchemy exceptions in native functions