Putting the theme under revision control & some fixes

The gallery is not done, but I made enough changes to warrant a pull request (especially since your repo is still empty)