added codegen for this pointer
slight reordering of statements
bug fix with vtables
bug fix with frame size counting