got rid of unnecessary killmap function

more efficient way to do it in mainactivity.