Refactored Form.cs. Display selected tile type in edit mode
Compile fix