changed some code, still working out bugs to get game playable in compatibility mode