fixed laser updating wrongly, fixed ctrl-c to close