Added cut copy paste new select all, and fixed linking errors