Fix bug where stop attribute returned NaN.
Fix bug in exception throwing (it caused an exception!).
Make changes to frame handler so that it works!