memory optimization

trying a little bit of memory optimization for the emulators (too much
strings for that debug mode)