Fix exception on web UI load with new RESTful IDs, fix ApiHandler order
Merge pull request #147 from mdlayher/master

Fix exception on web UI load with new RESTful IDs, fix ApiHandler order