Merge pull request #91 from XeTK/singleinstance

Singleinstance
simplified exceptions