put runtime errors in the console output

(and fixed some css issues)