Functional draft of build_sub_image_table. Doesn't crash but needs more keyword support. For issue #30.