Moved error handling and the most basic symbol table function out of runtime.c