Statics and Dynamics in 2d With Friction