i'm trying to use the scheduler, and i'm wondering - is using wait() and notify() still valid? my plugin's throwing an IllegalMonitorStateException. is that a problem in the code or can i not use those methods with the scheduler?