Added lightstep() function to correctly get the number of steps depending on mode
BUGFIX: Tidied up the lightbright() function to use more logical naming for parameters
BUGFIX: Added more debugging messages in the various light* functions
BUGFIX: macros/cycle now never ends
BUGFIX: Added delays no all macros