move all the Python into a mark2 package
add a ./test script that doesn't pollute the root with trial stuff
process: fix update_stat sometime throwing exceptions on server stop