Added some development notes, minor code updates.