gui: Strip symbol name and comment

Signed-off-by: Michael Buesch <m@bues.ch>