WIP: change queue stuff to work also with PyPy
calculate cycles/sec in GUI