Fix some boundary bugs. Commands should work now.