Added Min/Max functions to Utilities, cleaned up RenderEngine, updated entity-test