Make execute_in_main_thread blocking by default. Add documentation