Cleaned up code, implemented crime ids

There is a problem with my game freezing. ToggleAi stops my character