Detect bad clipboard

closes #1430