updates

I did a bunch of updates.
Now it is truly themeable.
I cleaned up in the code and renamed some functions.