Fixed lots of warnings. Added some Literals.java. refs #425