BottomBarGL: put some stuffs static and limit arrays size
could run overnight, still has memory leaks
removed 1 leak and some other small parts of code cleaner
this code ran overnight once with demomode on iPad 3