Fixed some small glitches.