fixed spamming errors when no holes are submitted
removed ?> tags at the end of pure php files to avoid printing empty lines
added missing ";"