started making things python3 safe. Think it's done, but haven't tested