a few more fixes for py2exe -- not yet working