Added FatalException from master to branch. Merged WPAMaster.java and sunjaymain.java from master to branch