Wow, it has taken me weeks to get this to the point that it seems to be working. The official documentation is horribly broken, but I have...