add ammo bar, refactor graphics.py