Re-did joystick input data, file writing format a bit removing comma after comments.