Fixed errors in loadPlugin; updated readme