Added focus mode and mode logging