Change extended domain base to 100; Cache extended domain info; General cleanup

Let me know if I missed something or accidentally broke something in the process.