Extracted error strings into #defines to make them easier to maintain.
Improved error message that is mostly caused by invalid use of special persistence. Closes #9.