Added bulk delete command.
Various tweaks.