Fix all warnings and improved code readability
OpenGL removed from code and added scalable texture to the bar