remove unused variables

Change-Id: Ia2dfa357d0fb7c2a19511ec0957deac38b85c09f
remove unused methods

Change-Id: Id518c6a253f72cf062754fe6ff65c5041e41cc27
this does not need to be a member variable

Change-Id: I9be286f8e10d43c8c5ce89bb6b52ebddce48bb6b
separate rounded corner bar and normal bar rendering

This makes it much easier to debug problems.

Change-Id: I0ba10f6d24cca54be724639074bfd3fac59d37e5