Fixed a couple engine bugs.
Started working on virtual resolution.