Improved the formatting of the code somewhat; changed the delayed for
replacing the app name with the show controls