Added displaying messages when things happen.