Boilerplate dx & window initialization code pretty much complete. Phew