Updated functions for progress bar, destructors.

-Update scanController, and scanModel to work with progress bar. Please
note that the function name is not the same now. When processing each
frame, there is a function called "processNextFrame(int i)"
-Destructors are now partially implemented. I think I am currently about
1/2 to 2/3 done with them. They should be completed by tomorrow. Once
this is done, i'll start working on more GUI improvements (CSS, HTML,
etc).