Rewrote some minor stuff/ added current profit.