bugfix can't reload project

it is half bugfixes of lazarus can't reload the saved LiteKit project