r8400: separate out the mpr code, as it is in the upstream appweb sources