Made it possible to asynchronously load inputModel on single select

This is achieved by wrapping the initial definition of current into a watcher waiting for inputModel to have a value and unregistering itself once the job is done.
Also did some spaces normalization and gave the inputModel watcher a sanity check to avoid unnessecary errors.