cursor: whitespace cleanup.
cluster: set an error message if we failed.
cursor: parenthesis on flag checking.