added deprecated versions of memory write functions
added hprintf sendconsoletext. need to add a way to check if deprecated api is used.