Fixed some display bugs.