Hopefully fixed all instances where it would display the server root, and also fixed listing empty directories