improved error messages; added usage() method in ff.java