Simulation freeze pre-lima. This update includes many refinements to
the intialization routine, and a few bug fixes.

Signed-off-by: mjhmilla <millard.matthew@gmail.com>