fixed up stackbar quite a bit