Most funtions are nearly working

Though I have just thought I broke a couple eaariler but most things
working need a lot of styles though