implemented StatusBar control