Couple fixes in ir generation

butchered symboltable in effort moving towards error catching