hide sort buttons on demand, fixes #281
improve JavaScript error messages
check user permissions properly, fixes #286
load LESS variables to be able to use them