Serveral changes to functionality

Change "Kitchen" to "Deck".
Fixed append result functionality.
Remove unnessary global variables.