Removed gem
fixed
Updated to handle both single-threaded and normal modes