Updated formatting, string parsing, and main window configuration: