improved resource error handling (at least for textures)
added short keys for master: changing current mode