console bugfix; fixes #17
removed unneccessary replacements
fixed whitespace
added GDT; fixes #6