Fixed some minor glitches.