Issue #25: fixed race condition between UI and OpenGL thread by moving synchronization around; stepper.isActive() now works as expected