create cwine.getPanel for doing the indices lookup

anytime we need to get a panel by it's ID we needed to look up the index
in cwine.panels through cwine.indices. this is now abstracted into
cwine.getPanel