Fixing bug in IE with leading whitespaces.
Scoping the terminal styling.
Fixing the whitespace bug properly this time.