reworked layout for inspector.