Fix segfault in DEX parser, remove more r_print refs