Memory improvements and added share option