Refactor: Input parameters passed by pointer to const
Refactor: Eliminate unnecessary copies
Refactor: Replace boxxhandle with std::vector browse_box_x
Refactor: Extract Functions save_box, restore_box