fix output window size, fix error counter, fix start scripts