various fixes to commands, including dealing with asynchronous drawing and limiting scope of command onload to help avoid drawing errors. not sure if totally fixed, though.
fix merge conflicts
fix merge conflicts again