Finished splitting of source, finish trimmsubparts

Needs testing and finishing of logging, particularly with rotational camera movement and factoring the starting positions of camera and cursor.