bug fixes for RemoteControlActivity. Fixed threading issues with open
connection.