Minor refactor; investigate web events related to SetFramebufferSizeCallback.