fixes to VM to correctly lookup context type to access appropriate handler function
fixes to VM to correctly lookup context type to access appropriate handler function

jhawcroft/cinsimp-web,jhawcroft/cinsimp-web,jhawcroft/cinsimp-web,jhawcroft/cinsimp-web