Fixed various little mistakes.