print millisec in fgaj_now()
make fgaj_now() public
suppress a few compilation warnings