Cleaning up the hacky shit I did to get this thing to look right. There are now no warnings when this document is compiled.