replaces explode() by preg_split() in form_val_unique() for camelCase
form_val_unique() now checks agent id of agent form too
adds <pre> tags to debug div in index.php
separates validation from submitList SQL query