app resume - pause
some tidying up