Apparently num | 0 doesn't actually make it a decimal.

Use math.round instead.
Node property display and edit dialog.

Add a property edit dialog that allow changing the properties
of nodes. The dialog doesn't restrict editing in any way
so you can do a lot of non-working stuff but this is
actually not all that important for now.

Fixes #9