enable Xlint, clean up some code
use newer myfaces