Simplify API, add timer test

The API for automatic disposal of threads was too complicated. Maybe
this will be addressed in the future, but for now leaving it out. It
will be up to developers to make their own event messaging system so
they know when to dispose of a thread's resources.