Loading bar improvements and remove old loading bar code