Worked on improving the deck editor

Did some work on improving the deck editor.  The deck editor currently
has many errors that i will need to fix.