made the constraints box sticky and fixed some json issues (still more to fix)