Improved consistency and (hopefully) reliability of livemacros.rb code