Minor code cleaning and ident in public.php