Added master gain, song length getter

The song length getter function will be changed later when we make it settable and have tracks, note patterns, etc. These were Jeongun's commits originally.