minor changes to loanshark function and UI in general -  and added some prefix to some outsourced functions