Added a simple handler for notice errors
Improved error message for undefined variables
Merge pull request #2 from Creatiwity/error-notice

Added a simple handler for notice errors