adding the color event to php
Further updates to entities

The engine cant support entities greater than 2048 along one side, had
to scale some entities slightly.