Level pack editor, various fixes