Deleted some volatile modifier.
Changed some BYTE variables to int.
Deleted some volatile modifiers.
Recompiled.