Created a lock object for the molecule, residue and spin data structures.
This will be used to prevent races when spin data is being accessed and changed at the same time. This affects the spin viewer window which is very sensitive to races.
Authored by: bugman 2011-08-07
Parent: [r14238]
Child: [r14240]