Add timestamps to logfile messages. Reapply window title/icon after video mode change.