Add SubProject support to project dropdown

It's messy and will need to be cleaned up, but it works.