fix name exports & learn/wonder about python 'closures'