Fixed incorrect this references
Fixed typo in runNextInstruction
Fixed integer validation bounds and some missing return statements