Started fixing on library and a small fix while painting yesNoMessageBox