Made logging work after cx_freeze has been run.
Made the dynamic public market imports play nicely with cx_freeze.
Appears the 'decode' call was unnecessary and also caused problems with cx_freeze. (All this cx_freeze stuff is because I have to compile this thing to Windows for a freelance client.)