Fix path to resolution.rml
Rename some variables and use the compare macro for all cases
Only process key input for libRocket if the UI has focus