gate draw - now bitmap is used instead of redrawing every frame; color changes; debugDraw added for debug purposes