I just thought of another theory, what if Proxy was repaired before Marek went to the Death Star and Proxy went in place of Marek? After all Proxy was trained to use lightsabers, all though he could not use force powers. But in the end it could have been Proxy that was portrayed as Marek dying!
There is no emotion, there is peace.
There is no ignorance, there is knowledge.
There is no passion, there is serenity.
There is no chaos, there is harmony.
There is no death, there is the Force.