Add buttons: - Refresh Serial ports - Close connection

And re-organize the UI.
Add correct logic to enable the close connection button and disable the open connection button when it's okay.
Fix enabling/disabling controls after merge