~ bugfix and refactorings
~ gc assertion uses 'pauseMS'