Added exception handling. Fixed some problems with casting. Added STR global function for converting a Lua string to see.base.String.