Ribbon API.

Changed the Ribbon API so now it's able to activate a given tab. Also
the rendering does not take place asynchronously anymore.