Did some research, and due to how I handle the enabling / disabling of the buttons when running in the background, there is a limitation on what characters are allowed in the name of the folder
Only letters ([A-Za-z]), digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), periods ("."), and spaces (" ") are allowed. Anything else will mess up the background running (but will probably work in the foreground)
Technically, other characters would be valid, but due to the massive amount of escaping, you're best to just keep it simple. In particular, avoid single and double quotes. This is because of the HTML, not passing the command to bash.
An update will be released tomorrow which will handle spaces in the folder names (oversight on my part), after further testing.