Add cleanup: remove tab chars, remove divs related to gallery code.