Added check for pretty-mode being bound