get_current_thread() added
create_boot_thread() modified