A few safeguards for the types of statements we execute. Also don't execute anything if the slave is stopped.
Bump version and clarify constraint on MySQLdb.