Improve the remote control interface code.