Add crappy CompUnit.compile

And some assorted support methods