Improve variable names; shorten some lines

Makes pylint a bit happier
Use servlets_url everywhere it's needed
Bug fix: fix blackout exception
Cleanup unused imports; add sys
Don't instantiate as strings when they will be objects.

It's misleading. Use None instead.
Simple code cleanup