- fix some crashes with onPause
- cleanup debugging