preg stuff; fixed some save/load stuff