fixed framerate capper and delta calculation
fixed lighting and proper movement vector reset