Added stop() function.
Minor code optimization.
Optimizing using RAM on PRINT_LOG mode.
Initial version.