Modified Exception type.

Others:
Fixed variable names to stop reassignment.
Updated: copyright comments.
Merge branch 'fix' of https://github.com/trashtoy/PEACH into fix