fix id system to use hashCode() and added buggy mouse control