Clean up whitespace in CMMCore constructor

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13830 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Add missing handling for Core-Galvo property

Thereby fixing the resulting crash when setting Galvo to empty string.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13831 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Fix handling of non-default shutter and camera

The current shutter/camera were used incorrectly in parts fo the
implementations of the methods acting on specific shutters or cameras.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13832 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Use weak_ptr to store current/default devices

Prevent inconsistencies upon device unloading without having to
explicitly clear the references.

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13833 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Use weak_ptr for image synchro list

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13834 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
Avoid duplicates in image synchro list

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13835 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd