Use a Module instead of an Extension for the server-side URL validation
Stylistic updates and other small fixes