improve assert message
remove localhost from source code (though should be moved to interface.html)
Fix #44, pulse click properly
Fix some misc things for a frames version that auto-starts two sessions in frames