Remove uses of error from ideslave and fix colouring