Fixed syntax error
Fixed another syntax error
Fixed errors in code when converting to .ico
Fixed missed rename on variable