fixed multiple issues

Fixed menu printing,
 automatic refreshing of the windows,
 buffer for log and packet window