Added popup menus and improved layout handling

Also, you can now doubleclick on items within the JList.