Prevent lockscreen from rotating and minor improvements