Fix tab name sending.
Cleaner API and logging.