cleanup and busy indicator