cleaned some ui related stuff.