Moved ButtonPanel from Ruby over to the C++ side