Merge pull request #11 from myrle-krantz/develop

Setting message for illegal state exception to make debugging easier …