Implemented emergency price trigger and corrected bugs.