added functionality for coins, displaying score on statusbar