fixes trailing slash problem that keeps assets from loading
first commit of windowed version