UltraNote code cleanup

A wide and deep look inside inherited code from XDN to eliminate any bugs or errors. Major code cleanup and release of a new Daemon version.