Added some error/confirmation messages.