reducing size and content.
bug correction.

the code was fine, but the phaser lib was old and had bugs while mixed
with the code.