memory fixes and updating CoreLib
merging action