Firefox patch and frontend progress

Works on firefox.

To be done:
Add next and previous buttons to foregrounds options
Make submit button work
Make next and previous buttons work
Update thumbnails to be actual thumbnails
Give form elements actual values to send
Link file upload and radio buttons to submit as only one option.