Added the renderGame method, eliminated errors and (most) untyped
object access. Commented some of the code parts to better understand
them.

Safe-typed PPoint members.