Points of local nonconvexity and sets which are almost starshaped