Enhanced to select an application to execute with a rough layout.