Debug functionality

+ Added DEBUG const for Log messages and other debug functionality.
! Use 'if(DEBUG)' for every Log message and other debug stuff
! Set DEBUG to 0 if you want to disable