Fixed various bugs in simulator and put in home view