Simulator seems to be working.
Merge branch 'newsim' of git://github.com/neduard/sepr4bar into newsim