Finshed ProfileBox functions.

Finished writing the profile box functions. Will test and add into test
app in the next release.