Fixes #80, stacked percentage and min/max bug,  Fixes #81 (grid y min/max not working)