Added some debug functions for controlling RPM throug hthe USB
interface.

Also changed some function names to make them more consistent.