application window now runs inside application