Fixed more prompt redisplay bugs.