more bug fixes, and upped the max free edges