moved and fixed check of available space for placeholder, merged source and editor collection