removed logging
fixed tests
added frame counter