Whoops, had to fix a few last minute bugs. Also, seems the message with the layering diagram was from Christopher Allen. Thanks to both of them for a good model though.