change static members of UI class to members

This is a pure non-functional change. But while reading the code i stumbled upon UI's static members, which in my opinion, should rather become members.
Sure, there is only one instance of UI right now, but in principle any instance of UI should e.g. have it's own `buffers` and so on.