more message bar stuff
add closing the loading bar