remove unused stuff
refactoring much
debugging and statistics
with-slots on state is super slow for some reason; don't use it