added psuedo code for chord rolling and minor bug fixes