Remove mv flag code from the main app.

* Old import/export stuff
* Other mv flagged bits.