A very long and over-due update to the repo. Added some misc. code that will need to be remove before the next update.