system: added exec_dir(); updated test/system/system.
input_buffer: reordered data members (pedantic tidy).