improved error / quit messages