That stuff looks pretty frothy. Start making some new water now the fish are in a safe place and if you have a siphon I would definitely siphon the sand and you might just want to use a cup to scoop all the foam on the top. Don't forget to scrape your glass. Hopefully changing out some water should help a lot. Definitely clean the cannister filter out really well. Not sure what kind of bloom that is.