Added remove layer feature in unload function.
Merge pull request #5 from adnorth/Ross

Added remove layer feature in unload function.