Add deadzone threshold for user input. Formats code also.