Fix pattern, remove slow bits from pattern, ensure log occurs BEFORE modal
dialog for accurate timestamps