no linking with GL from the core
redo abbreviate_string_helper_hackaroundmissingcode()
drop unused stuff