Undefined checks for callbacks

Added undefined checks for settings.*callbacks in actionMsg(). When
files are minified errors were being thrown when callbacks were not
declared in client options. Bumped version to 2.5.2.1. Did not update
readme.