Add lowmem flag
Clean up deprecated/redundant flags (credit to Albinoman887 for half of this)