Text this: Stability and gravitational collapse in extended theories of gravity: from singularities to bouncing scenarios