Active Tabs and Spaces

Made the current category's tab highlight when used.
Also fixed the error with spaces in uploaded filenames.