-Removed an unnecessary typecast and duplicate function call from the airlock painter code.