Fixed wrong if condition in process() for the damper pedal. Changed "in" with "hasOwnProperty". Minor code style updates.