Fixed internal pathing so that the web ui can work. This might also fix other path-related issues.