Added file-based logging to TEvA.java and fixed numerous errors.