Changed VM.executeScript(..) scope to private. It was public before because of convenience when there was no notion of Program, but now that we have that working leaving it public is dangerous.
Replaced some unwanted occurrences of four whitespaces with proper tabs.
Added a couple of functions in order to make the code more readable.
Inlining the functions reduced the sketch size more than 100 bytes.