Some engine stuff for jPCT. Includes a 2D engine.