Fixed foreground colours and tab errors caused by rounding EM