Switch from macros to functions
Switch from macros to functions

The macros weren't doing us any good here. Also dropped stat printing in
general because it isn't useful or part of the Python API.

dowski/statvent,dowski/statvent