changed the way frames are kept in gif objects
more work on local to global
fixed local to global (might still need some bgcol fixing) and added correct label texts in tabelcomp-tab