added a basic debug renderer (shows the frame number, etc)