video: fixed a bug in pats_thread_t::translate()
system: added a thread base class