Comments and more improvement.

more logic to not do extra processing. A lot more comments to explain whats happening.
Ya right now it will keep on trying.. I will put a limit on that.

Which reminds me ... we should have a header with all such "MAGIC" number const/#define macros defined. What say @blair1618  and @patriciogonzalezvivo