Added bio section and tidied up some code.