issue #14 checklink

fix checklink and remove chop()
join remove and db_removeByName()
fix deletion in index.php