Motor can be stopped OR maxed out. More correct to wait for motor to
stop moving.
add function to find centroid of quadrilateral
test function to scale a quad about its center.
Fixed dilate function to also work when scaling down. Refactored it
into a subroutine for easier re-use.
started to split up the main source file.
dont use file global variables for mouse handler.
improve print
moved test functions to a separate file.
renamed source files to project name.
document USB 3.0 issue.