More python3 fixes

More fixes for issues I found.  Also, a bugfix for the default value for tags.

Let me know if you have any issues with anything here.

Thanks