Merged work from billlutton (squashed).

commit 780f05c6d0c309a6fbb823c77437451be3e0aca6
Author: billlutton <github@lutton.com>
Date:   Sun Nov 17 08:29:53 2013 -0700

    Fix VIX-334, NPE on rclk below last row in grid.
    Just bail if 'row' is null.

commit 0ab9e038c03950f84c7a9dfc74724f9e495a8aab
Author: billlutton <github@lutton.com>
Date:   Sun Nov 17 00:56:42 2013 -0700

    Fix last channel not updated sometimes.
    This change removes some erroneous '+1's used in calculating how many slots to send.  In some cases this could cause the last channel to no be sent.  In my test case of 150 channels, universe size was getting set to 149 leaving junk in the last slot.

commit 8da9e4eee6688efeeb954c410ae59e1fc3997cdd
Author: billlutton <github@lutton.com>
Date:   Sun Nov 17 00:25:28 2013 -0700

    Fixed a crasher in formatting the message for the statistic report.
Merge preview work via Derek and Bill (squashed).

commit 1909101dc1b16ed553ab91a25d038d757c8dd0ae
Author: Derek Backus <derek@kiwimill.com>
Date:   Sun Nov 17 06:06:24 2013 -0500

    Make button states on the preview more obvious.

commit 866af4b3eb1b60d3fd8922a1f63cdf7541a2bde6
Author: billlutton <github@lutton.com>
Date:   Fri Nov 15 00:22:46 2013 -0700

    This change attempts to make it more obvious which drawing tool is selected.  I changed the tool buttons to Standard style from Flat.  Ideally, these would be toggle buttons and show as depressed when selected.  I couldn't figure that out so I opted to simply show them as disabled when selected.

    Frankly, I'm not sure if I like this effect.  It does show which tool button is selected, but the effect is pretty subtle.  Since I had is laying around, I figured I'd share it with the group to see if the rest of you think this is worthwhile or not.

    What say you?

commit cee5b8a685a70065291e345fa03b005313c42627
Author: Derek Backus <derek@kiwimill.com>
Date:   Wed Nov 13 17:15:20 2013 -0500

    Re-Load preview form data when a preview is edited.

commit 338d9279d8280668bf5107ae209b7c747e173ed8
Author: billlutton <github@lutton.com>
Date:   Sun Nov 10 15:54:09 2013 -0700

    A few tweaks to try and allow 0 pixels on a/some leg(s) of a multi line thing like the square or triangle.
Update element and controller trees when deleting the other.
Deal with moving/deleting element nodes and elements more correctly -- clean up properly, and don't remove the Element if we're only moving a node around.
Merge remote-tracking branch 'remotes/sall/master'
Fix NPE when deleting a group.
It looks like callers of Elements.RemoveElement are responsible for not passing in a null. This change adds that check to ElementNode RemvoeFromParent (to handle the case of a group node which has no Element)