fixed app quit on OSX, laser angle control