Python 3 compatibility fix
Simplify loading of activepapers.contents