getting width and height from dom
drawing crisp edge guides
fixes for sticky edge selection
Large refactor for centering widgets.

Widget position is now internal to a widget and gets restored everytime
the widget updates. This should make sure that a widget stays centered
for example.
Widget centering seems to work. Missing specs tho.