Basic library and tweak support.

Doesn't completely load the libraries yet
I don't know
Window now pops up.