Note the purge-message patch requires the trash patch to be applied.
Add ifdef and "sensible browser position" patches.