Added EntityGroupTemplates.
Added FPS to debug render.
Minor changes to rendering.