tweaks
fixed some warnings
more hacking on edit packets