Spinner control

What about using the context-manager shown here?