Fix multiple instances bug, add demo page