resolution scaling implemented, that was a pain in the ass