Added timidity initialization in special thread.