fixed error with toggling LED status
rendering optimization for preview canvas

Changed to create a path for each row, not each cell, which decreases
the number of paths by (typically) a third
made refreshUi use DOM operations

This involved restructuring certain JS functions to use jQuery-style
event handlers.  In addition, the canvas change was partially backed out
due to coloring issues for individual LEDs.
changed updateFrameList to use DOM operations

This also required changing selFrame to use the jQuery event handler
model.