Fixed qxt building on Windows.
Made popup positioning more robust and removed transparency. Cleaned up debug stuff.