better HUD near and far plane, fix framerate calculation