Improved Algorithm, but not completely stable yet

Not stable at all, but better than last version.

This is a strictly development only version of the app. This is not to
be used as a final stable version of the app.

This is for a last resort backup if the next version completely fails.