fixed SIGWINCH in emperor and added emperor rescan master fifo command