Update im processing and viewer

Make im viewer copy ref file to current directory if not there
Make sure not trying to read behaviour file while it is being written
Update laser power control

Remove laser shutter function so that mirror gets into position before
photostimulation starts