Update spawnicon.lua

* Fixes clicking "Resize" automatically rerendering the icon.
* Remove all trailing whitespace and semicolons.
Merge pull request #661 from robotboy655/patch-4

Update spawnicon.lua