Major bug fixes and interface changes for order entries.