added some more features for better user experience (threads and other goodies)