check in of final fixes for notebook page deletion issue - also added
logic to refresh ports on page change to the connection manager and also
after a printer error has occurred and the port has been closed