Minor code style / syntax updates to the desktop window class and console.