Added the symbol table lookup for print.  Also prevent error when the scope pointer is at the outermost scope and cannot be set to a parent scope because none exists