Got edit window working, started on layouts.