Fixed #66: problems with QThreadPool.

The problem was apparently that the QRunnable instance was removed
before run, due to it being a local variable. Now Runnable stores the
instances as they are created in a static list, and cleans the list from
time to time.