Selfgravitation and Stability in Spherical Accretion