Bugfix in mysql interface
misc
add clean command, and quote deletion