Added initial check for various common errors.

Checks for period with spaces on either side.