Renamed ptr to pointer (get_ptr, set_ptr, get_string_ptr, set_string_ptr)

- TYPE_SIZES now stores the type names in upper case
- Fixed some minor issues