Fixed a few things, checked for blank icon entry with regex instead of "" since "" only matches blank, and would have let the custom icon be set with consecutive spaces which would be pointless. Removed call to openReveal since it isn't used anywhere.