added cvar, some new type conversions and updates

hooray