more docstrings for everyone
refactored page encoding, cleaned handler
tinkered with page creation, now works quite reliably. Changed field info acquisition queries to use path_prefix