[Previous post removed]
Scratch all that. I have a much better idea. Hopefully won't take too long to give this a shot; I can only work on this on nights and weekends basically, but this will plague me until I finish it.
Trust me on this one!
Previous version restored temporarily.