Added some cleanup code for when the app is unloaded.  Cleaned up the event binding code a little.
Added some cleanup code for when the app is unloaded.  Cleaned up the event binding code a little.

liuyanghejerry/chromabrush,liuyanghejerry/chromabrush,kojiashida/chromabrush,kojiashida/chromabrush,liuyanghejerry/chromabrush,kojiashida/chromabrush,eriser/chromabrush,kojiashida/chromabrush,eriser/chromabrush,mikeyxkcd/chromabrush,mikeyxkcd/chromabrush,mikeyxkcd/chromabrush,eriser/chromabrush,liuyanghejerry/chromabrush,eriser/chromabrush,mikeyxkcd/chromabrush