Fixed issue where gear defaults were not cloned properly. Removed some cruft and formatting