Fix syntax errors and bugs with the IOPanel