Added user-friendly waiting when exporting
Added a bit of padding to regions to fix floating-point innaccuracies