Better comment error detection

Now it uses validation instead of custom error stuff.