added set/show msg-delay function to general-plugin