i hate microsoft documentation so much
also parse out bgcolor
fix compilation