Added menu to delete cbs files

And some bug fixes.