Shrinksafe script fixed to workaround Linux vs BSD stat packages.
Under MacOSX (BSD) the format for stat needs "-f" switch, while
under Linux stat needs "-c". Changed to use ls and awk, which
seem to be cross compatible.
Removed slots and apps_tasks_limit from extra_dynaexclude in params and added a getExtraMenus entry to callback for program.
Reviewed by: Lennard de Rijk