- added velocity offset substration
- fixed some issues with getFrameBeforeFrame()
- fixed some concurrency bugs