Added Xlint to compiler flags
Added arguments to keytool
Lots of changes getting certificate stuff to work