added (type, obj) to super() calls, to enable python 2 support. Also, fixed TextInput theme font usage