Sprint5 bug fixes

Various fixes requested during the last developer meeting.

Also includes the fix for http://www.openmicroscopy.org/community/viewtopic.php?f=13&t=1244 and http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-February/003532.html.