GetTicks instead SDL_GetTicks.
Changed HomeEnv to homeval.