Expanded Register Array. Minor fixes and cleanups.

Need to add immediate registers to applicable operations.