Started refactoring the GUI code
Refactored the GUI code, the channel table view now uses bindings
Started writing a resample method and GUI drawing routines.