The Profit/Loss result excludes dividend payments as they are distributed separately and you can find them in the History tab.
As for FX fees & Stock Exchange Fees, they are included when you make a trade. You can find the respective fee in the Review Order tab, just before confirming the trade.
The realised profit/loss in the History section only takes into account the result from your trades. Dividends, stock exchange fees or FX fee are not included in the realised profit/loss calculation. However, you have an option to export your trading data to see a detailed break down of your trades.
The fees are taken off when you do a buy trade. In other words, not all of the money deposited is yours once you buy a share. You might do a trade for £1 and find the share worth 99p