fixed and updated lots of specs and a couple of app bugs