fix several figure-related issues plus introduce the desktop