Prevent lockscreen from rotating and minor improvements

Isn't this a no-op, eg = instead of == ?