some preliminary error display stuff