Maarten Lankhorst : quartz: Fix past mistake to release lock during seeking and changing state.