:non-potable_water: Properly remove items from pane's state document
:non-potable_water: Properly remove items from pane's state document

Fixes #1299.

This updates Pane::removeItemAtIndex to call Array::splice with the
index to be removed instead of Array::remove, which was changed to take
the *object* to be remove rather than an index. Oops.

tony612/atom,Klozz/atom,gisenberg/atom,transcranial/atom,lisonma/atom,Dennis1978/atom,Mokolea/atom,bcoe/atom,synaptek/atom,Rychard/atom,hakatashi/atom,kc8wxm/atom,medovob/atom,GHackAnonymous/atom,yomybaby/atom,Andrey-Pavlov/atom,paulcbetts/atom,SlimeQ/atom,originye/atom,Ingramz/atom,fedorov/atom,folpindo/atom,sillvan/atom,lpommers/atom,Austen-G/BlockBuilder,stinsonga/atom,palita01/atom,chfritz/atom,kdheepak89/atom,ykeisuke/atom,abcP9110/atom,Jandersolutions/atom,fscherwi/atom,ralphtheninja/atom,Jdesk/atom,MjAbuz/atom,Neron-X5/atom,niklabh/atom,sillvan/atom,vinodpanicker/atom,AlisaKiatkongkumthon/atom,johnhaley81/atom,acontreras89/atom,SlimeQ/atom,sekcheong/atom,splodingsocks/atom,florianb/atom,decaffeinate-examples/atom,devmario/atom,rsvip/aTom,GHackAnonymous/atom,charleswhchan/atom,andrewleverette/atom,tmunro/atom,nrodriguez13/atom,jlord/atom,toqz/atom,gisenberg/atom,yalexx/atom,hharchani/atom,nrodriguez13/atom,ivoadf/atom,dsandstrom/atom,einarmagnus/atom,bsmr-x-script/atom,charleswhchan/atom,omarhuanca/atom,pombredanne/atom,GHackAnonymous/atom,johnhaley81/atom,AlisaKiatkongkumthon/atom,pengshp/atom,kittens/atom,rxkit/atom,abe33/atom,constanzaurzua/atom,scippio/atom,yalexx/atom,fscherwi/atom,hagb4rd/atom,RuiDGoncalves/atom,panuchart/atom,yamhon/atom,hagb4rd/atom,prembasumatary/atom,fedorov/atom,rlugojr/atom,omarhuanca/atom,h0dgep0dge/atom,crazyquark/atom,pkdevbox/atom,basarat/atom,fang-yufeng/atom,hharchani/atom,Klozz/atom,ObviouslyGreen/atom,isghe/atom,mnquintana/atom,wiggzz/atom,hpham04/atom,SlimeQ/atom,elkingtonmcb/atom,ali/atom,jtrose2/atom,gabrielPeart/atom,rjattrill/atom,fedorov/atom,john-kelly/atom,ivoadf/atom,basarat/atom,Abdillah/atom,elkingtonmcb/atom,Huaraz2/atom,cyzn/atom,toqz/atom,paulcbetts/atom,Hasimir/atom,Jonekee/atom,svanharmelen/atom,scippio/atom,isghe/atom,constanzaurzua/atom,Jandersoft/atom,dkfiresky/atom,constanzaurzua/atom,jlord/atom,tony612/atom,tony612/atom,Dennis1978/atom,gzzhanghao/atom,jacekkopecky/atom,svanharmelen/atom,burodepeper/atom,jeremyramin/atom,nrodriguez13/atom,johnrizzo1/atom,SlimeQ/atom,Klozz/atom,wiggzz/atom,splodingsocks/atom,kevinrenaers/atom,amine7536/atom,ReddTea/atom,jtrose2/atom,pombredanne/atom,me6iaton/atom,rlugojr/atom,vjeux/atom,NunoEdgarGub1/atom,vhutheesing/atom,vcarrera/atom,jjz/atom,bryonwinger/atom,toqz/atom,t9md/atom,oggy/atom,oggy/atom,vinodpanicker/atom,rookie125/atom,RobinTec/atom,charleswhchan/atom,amine7536/atom,Andrey-Pavlov/atom,sekcheong/atom,harshdattani/atom,bencolon/atom,paulcbetts/atom,decaffeinate-examples/atom,synaptek/atom,acontreras89/atom,mrodalgaard/atom,jtrose2/atom,dkfiresky/atom,sxgao3001/atom,scv119/atom,Andrey-Pavlov/atom,liuxiong332/atom,nucked/atom,t9md/atom,qiujuer/atom,anuwat121/atom,Jdesk/atom,yomybaby/atom,oggy/atom,g2p/atom,nvoron23/atom,basarat/atom,kdheepak89/atom,qiujuer/atom,efatsi/atom,bcoe/atom,alfredxing/atom,fang-yufeng/atom,chengky/atom,florianb/atom,qiujuer/atom,targeter21/atom,jacekkopecky/atom,Galactix/atom,stinsonga/atom,Neron-X5/atom,jordanbtucker/atom,sxgao3001/atom,jacekkopecky/atom,Austen-G/BlockBuilder,john-kelly/atom,niklabh/atom,splodingsocks/atom,kdheepak89/atom,davideg/atom,alexandergmann/atom,FoldingText/atom,Jdesk/atom,deoxilix/atom,ashneo76/atom,tisu2tisu/atom,abe33/atom,mostafaeweda/atom,RuiDGoncalves/atom,Jandersolutions/atom,ReddTea/atom,deepfox/atom,omarhuanca/atom,ReddTea/atom,rsvip/aTom,YunchengLiao/atom,Abdillah/atom,avdg/atom,sebmck/atom,daxlab/atom,fang-yufeng/atom,splodingsocks/atom,Ju2ender/atom,beni55/atom,Galactix/atom,russlescai/atom,YunchengLiao/atom,john-kelly/atom,sillvan/atom,ppamorim/atom,chengky/atom,ppamorim/atom,champagnez/atom,dannyflax/atom,hagb4rd/atom,kittens/atom,dkfiresky/atom,AlbertoBarrago/atom,jtrose2/atom,Hasimir/atom,ppamorim/atom,rmartin/atom,me6iaton/atom,bj7/atom,ilovezy/atom,sebmck/atom,vcarrera/atom,gisenberg/atom,kaicataldo/atom,prembasumatary/atom,RobinTec/atom,FIT-CSE2410-A-Bombs/atom,sekcheong/atom,basarat/atom,qskycolor/atom,bolinfest/atom,sebmck/atom,kjav/atom,nvoron23/atom,lovesnow/atom,codex8/atom,kevinrenaers/atom,Galactix/atom,devoncarew/atom,brettle/atom,n-riesco/atom,qskycolor/atom,bencolon/atom,rjattrill/atom,yangchenghu/atom,yomybaby/atom,001szymon/atom,kc8wxm/atom,mdumrauf/atom,panuchart/atom,yalexx/atom,fredericksilva/atom,davideg/atom,woss/atom,dannyflax/atom,florianb/atom,rmartin/atom,AlexxNica/atom,pengshp/atom,kjav/atom,ykeisuke/atom,Hasimir/atom,mostafaeweda/atom,vjeux/atom,execjosh/atom,0x73/atom,me-benni/atom,liuxiong332/atom,chfritz/atom,medovob/atom,tanin47/atom,nucked/atom,pkdevbox/atom,FIT-CSE2410-A-Bombs/atom,ashneo76/atom,vcarrera/atom,vjeux/atom,sebmck/atom,tisu2tisu/atom,KENJU/atom,Mokolea/atom,Rychard/atom,matthewclendening/atom,jjz/atom,matthewclendening/atom,yalexx/atom,devoncarew/atom,Ingramz/atom,liuxiong332/atom,BogusCurry/atom,rookie125/atom,bsmr-x-script/atom,sotayamashita/atom,ralphtheninja/atom,isghe/atom,davideg/atom,mertkahyaoglu/atom,tony612/atom,acontreras89/atom,Austen-G/BlockBuilder,MjAbuz/atom,brumm/atom,alfredxing/atom,G-Baby/atom,ezeoleaf/atom,rsvip/aTom,codex8/atom,bradgearon/atom,xream/atom,Jonekee/atom,0x73/atom,dsandstrom/atom,lisonma/atom,sillvan/atom,liuderchi/atom,abe33/atom,sekcheong/atom,crazyquark/atom,beni55/atom,hakatashi/atom,svanharmelen/atom,daxlab/atom,rmartin/atom,isghe/atom,batjko/atom,liuderchi/atom,hharchani/atom,ykeisuke/atom,Shekharrajak/atom,mertkahyaoglu/atom,jordanbtucker/atom,deepfox/atom,Hasimir/atom,Jandersoft/atom,codex8/atom,yalexx/atom,PKRoma/atom,fedorov/atom,dsandstrom/atom,Sangaroonaom/atom,scv119/atom,CraZySacX/atom,bryonwinger/atom,YunchengLiao/atom,kaicataldo/atom,jjz/atom,pkdevbox/atom,decaffeinate-examples/atom,brumm/atom,einarmagnus/atom,rjattrill/atom,darwin/atom,deepfox/atom,ilovezy/atom,ali/atom,devmario/atom,lovesnow/atom,Austen-G/BlockBuilder,deoxilix/atom,kandros/atom,sotayamashita/atom,fang-yufeng/atom,davideg/atom,abcP9110/atom,jjz/atom,sxgao3001/atom,folpindo/atom,ilovezy/atom,tanin47/atom,florianb/atom,kdheepak89/atom,devoncarew/atom,vhutheesing/atom,Ju2ender/atom,Arcanemagus/atom,Jandersoft/atom,dsandstrom/atom,hakatashi/atom,nucked/atom,bencolon/atom,charleswhchan/atom,ezeoleaf/atom,omarhuanca/atom,Rodjana/atom,lovesnow/atom,lisonma/atom,fredericksilva/atom,DiogoXRP/atom,Rodjana/atom,synaptek/atom,john-kelly/atom,johnrizzo1/atom,kandros/atom,DiogoXRP/atom,jeremyramin/atom,kandros/atom,ppamorim/atom,ali/atom,me6iaton/atom,erikhakansson/atom,bcoe/atom,FoldingText/atom,phord/atom,n-riesco/atom,omarhuanca/atom,chfritz/atom,vcarrera/atom,harshdattani/atom,brumm/atom,ardeshirj/atom,originye/atom,hagb4rd/atom,dkfiresky/atom,lisonma/atom,n-riesco/atom,russlescai/atom,AdrianVovk/substance-ide,deepfox/atom,CraZySacX/atom,russlescai/atom,hellendag/atom,githubteacher/atom,alfredxing/atom,lpommers/atom,Shekharrajak/atom,nvoron23/atom,NunoEdgarGub1/atom,qskycolor/atom,fang-yufeng/atom,0x73/atom,BogusCurry/atom,fredericksilva/atom,einarmagnus/atom,yamhon/atom,Sangaroonaom/atom,acontreras89/atom,dijs/atom,AlexxNica/atom,GHackAnonymous/atom,rmartin/atom,bolinfest/atom,PKRoma/atom,Huaraz2/atom,MjAbuz/atom,githubteacher/atom,Mokolea/atom,Abdillah/atom,targeter21/atom,Huaraz2/atom,bj7/atom,burodepeper/atom,tony612/atom,mnquintana/atom,boomwaiza/atom,jacekkopecky/atom,Ju2ender/atom,einarmagnus/atom,Shekharrajak/atom,gzzhanghao/atom,Abdillah/atom,darwin/atom,liuxiong332/atom,targeter21/atom,Jdesk/atom,efatsi/atom,lisonma/atom,originye/atom,elkingtonmcb/atom,mnquintana/atom,harshdattani/atom,bsmr-x-script/atom,anuwat121/atom,woss/atom,jlord/atom,rmartin/atom,kjav/atom,YunchengLiao/atom,Austen-G/BlockBuilder,gontadu/atom,Shekharrajak/atom,stuartquin/atom,ObviouslyGreen/atom,lovesnow/atom,AlisaKiatkongkumthon/atom,AlbertoBarrago/atom,mdumrauf/atom,alexandergmann/atom,tjkr/atom,Hasimir/atom,qiujuer/atom,folpindo/atom,toqz/atom,GHackAnonymous/atom,medovob/atom,russlescai/atom,chengky/atom,mnquintana/atom,bolinfest/atom,seedtigo/atom,fredericksilva/atom,fredericksilva/atom,nvoron23/atom,devoncarew/atom,Jandersolutions/atom,devmario/atom,t9md/atom,brettle/atom,johnhaley81/atom,mrodalgaard/atom,mostafaeweda/atom,tanin47/atom,kjav/atom,oggy/atom,tisu2tisu/atom,champagnez/atom,ezeoleaf/atom,isghe/atom,kevinrenaers/atom,execjosh/atom,me6iaton/atom,mertkahyaoglu/atom,Austen-G/BlockBuilder,yangchenghu/atom,jlord/atom,gontadu/atom,ObviouslyGreen/atom,Locke23rus/atom,vhutheesing/atom,dannyflax/atom,Rychard/atom,yangchenghu/atom,rxkit/atom,FoldingText/atom,batjko/atom,liuxiong332/atom,Arcanemagus/atom,vinodpanicker/atom,burodepeper/atom,helber/atom,einarmagnus/atom,darwin/atom,dannyflax/atom,gontadu/atom,me-benni/atom,rsvip/aTom,palita01/atom,Neron-X5/atom,yomybaby/atom,sxgao3001/atom,001szymon/atom,lpommers/atom,RobinTec/atom,ivoadf/atom,daxlab/atom,dannyflax/atom,Ju2ender/atom,cyzn/atom,kaicataldo/atom,FoldingText/atom,helber/atom,stuartquin/atom,florianb/atom,hpham04/atom,bj7/atom,xream/atom,Ju2ender/atom,hellendag/atom,tjkr/atom,n-riesco/atom,synaptek/atom,jeremyramin/atom,jacekkopecky/atom,ralphtheninja/atom,prembasumatary/atom,codex8/atom,prembasumatary/atom,ali/atom,scv119/atom,dkfiresky/atom,wiggzz/atom,liuderchi/atom,atom/atom,alexandergmann/atom,h0dgep0dge/atom,hharchani/atom,constanzaurzua/atom,boomwaiza/atom,g2p/atom,bcoe/atom,pengshp/atom,bryonwinger/atom,woss/atom,acontreras89/atom,stinsonga/atom,helber/atom,amine7536/atom,champagnez/atom,sotayamashita/atom,sekcheong/atom,ironbox360/atom,gabrielPeart/atom,vjeux/atom,seedtigo/atom,Jdesk/atom,ilovezy/atom,tjkr/atom,pombredanne/atom,ashneo76/atom,Andrey-Pavlov/atom,SlimeQ/atom,abcP9110/atom,h0dgep0dge/atom,Dennis1978/atom,ReddTea/atom,synaptek/atom,sxgao3001/atom,davideg/atom,seedtigo/atom,codex8/atom,ilovezy/atom,mertkahyaoglu/atom,Arcanemagus/atom,nvoron23/atom,AdrianVovk/substance-ide,basarat/atom,chengky/atom,woss/atom,G-Baby/atom,transcranial/atom,mostafaeweda/atom,andrewleverette/atom,kittens/atom,RobinTec/atom,brettle/atom,toqz/atom,phord/atom,avdg/atom,Andrey-Pavlov/atom,abcP9110/atom,ppamorim/atom,scv119/atom,Locke23rus/atom,Galactix/atom,tmunro/atom,bradgearon/atom,erikhakansson/atom,matthewclendening/atom,devoncarew/atom,dannyflax/atom,MjAbuz/atom,crazyquark/atom,rxkit/atom,FIT-CSE2410-A-Bombs/atom,amine7536/atom,batjko/atom,Rodjana/atom,kc8wxm/atom,ardeshirj/atom,rlugojr/atom,hharchani/atom,AdrianVovk/substance-ide,batjko/atom,ironbox360/atom,dsandstrom/atom,targeter21/atom,Jonekee/atom,panuchart/atom,n-riesco/atom,Sangaroonaom/atom,erikhakansson/atom,mostafaeweda/atom,KENJU/atom,kittens/atom,FoldingText/atom,vcarrera/atom,hagb4rd/atom,bradgearon/atom,KENJU/atom,Jandersolutions/atom,sebmck/atom,hpham04/atom,execjosh/atom,kc8wxm/atom,scippio/atom,vinodpanicker/atom,g2p/atom,anuwat121/atom,BogusCurry/atom,me-benni/atom,beni55/atom,rjattrill/atom,oggy/atom,AlexxNica/atom,deoxilix/atom,abcP9110/atom,CraZySacX/atom,Jandersolutions/atom,RobinTec/atom,john-kelly/atom,Locke23rus/atom,Neron-X5/atom,constanzaurzua/atom,boomwaiza/atom,mnquintana/atom,pombredanne/atom,transcranial/atom,Neron-X5/atom,RuiDGoncalves/atom,targeter21/atom,yomybaby/atom,liuderchi/atom,NunoEdgarGub1/atom,atom/atom,dijs/atom,ezeoleaf/atom,tmunro/atom,deepfox/atom,kdheepak89/atom,crazyquark/atom,dijs/atom,charleswhchan/atom,hpham04/atom,niklabh/atom,gisenberg/atom,mrodalgaard/atom,prembasumatary/atom,KENJU/atom,FoldingText/atom,kc8wxm/atom,cyzn/atom,matthewclendening/atom,DiogoXRP/atom,qiujuer/atom,bryonwinger/atom,jtrose2/atom,vinodpanicker/atom,NunoEdgarGub1/atom,jacekkopecky/atom,palita01/atom,me6iaton/atom,stuartquin/atom,fedorov/atom,Ingramz/atom,vjeux/atom,kittens/atom,stinsonga/atom,ali/atom,YunchengLiao/atom,sillvan/atom,pombredanne/atom,gzzhanghao/atom,Jandersoft/atom,batjko/atom,jjz/atom,basarat/atom,hpham04/atom,lovesnow/atom,AlbertoBarrago/atom,Abdillah/atom,chengky/atom,woss/atom,johnrizzo1/atom,gabrielPeart/atom,paulcbetts/atom,Galactix/atom,kjav/atom,NunoEdgarGub1/atom,ReddTea/atom,yamhon/atom,PKRoma/atom,avdg/atom,Shekharrajak/atom,efatsi/atom,jordanbtucker/atom,gisenberg/atom,atom/atom,phord/atom,h0dgep0dge/atom,crazyquark/atom,ironbox360/atom,001szymon/atom,matthewclendening/atom,G-Baby/atom,Jandersoft/atom,devmario/atom,rsvip/aTom,ardeshirj/atom,jlord/atom,andrewleverette/atom,qskycolor/atom,githubteacher/atom,devmario/atom,KENJU/atom,xream/atom,MjAbuz/atom,hellendag/atom,0x73/atom,fscherwi/atom,decaffeinate-examples/atom,amine7536/atom,hakatashi/atom,bcoe/atom,qskycolor/atom,mdumrauf/atom,russlescai/atom,rookie125/atom,mertkahyaoglu/atom