More messaging functions and setup for py2exe