Added snap resizing to edges.
Snap resizing no longer destroys your previous window size