added delete message and fixed a few buttons