Added call to Init_Nth_Variable
Set compiler warnings to correct list of sources
Added slot and var duplication to fix variable plugin