**l12:**

* Fixed problem with the profit not showing the correct amount.
* Minor code enhancements.

----
