Pythonify elseif.
Handle user data eviction better in the URL cache.
Simplify reference counting for network images.