server: log only auto scrolls when cursor is at end, focuses log text when it becomes active