minor edits
finished part of edge_event, fixed a few bugs
Corrected front adjustment in edge_event