fix image mistakes, and move outeput from connection to gui