You don't want to use both $TEMPLATEURL and $TEMPLATEDIR.
However, if you're using $TEMPLATEURL, get rid of $TEMPLATEDIR and fix the url in $TEMPLATEURL. You have an underscore instead of the dot before .com.
If using $TEMPLATEDIR, then your bad_template setting in the form should just include the file name, not the entire url.
Hope that helps.
Bookmarks