Adjust cell margins
Add basic check to see if a spec is valid