fix error with variable declaration order
fix vulnerability with random files being read
dunno
remove uneeded menu entries
fixing issues with rendering pages without ajax