LapStore
modified putMaskImage to try to solve not doing anything other than replace
182edaa