ranges now calculated correctly, coordinates now print nicely, so help me god i will solve these coordinate issues
replaced img and css handlers with a single asset url handler