Better Auto-Size Handling With Live Search #398

Also, cleans up event wire up in setSize() function. It would wire up extraneous events to window every time a select was opened.