Fixed bug in commander.html that was not allowing disconnects and reconnects