Click a button to switch paint brush, then click & drag to paint a rectangle, which is inserted into the RTree. Use search to query the RTree.